It means that as the protege outgrows his mentor he will find flaws of character or philosophy and as result will, figuratively, get rid of him.
"When the protege outgrows his mentor in character and philosophy, the protege will try to get rid of him."